hackerrank ruby hash each solution

visit shbcf.ru